import request from '@/sheep/request';

export default {
  // 获取国药商品分类列表
  getCategoryList: (id, params = {}) =>
    request({
      url: 'no-auth/guoyao/getList',
      method: 'GET',
      custom: {
        showLoading: false,
        showError: false,
      },
    }),

    // 商品列表
    list: (data, params) =>
        request({
            url: 'no-auth/product/list',
            method: 'post',
            data,
            params,
            custom: {
                showLoading: false,
                showError: false,
            },
        }),



};
